package service.manufacture;

import java.util.List;

import persistence.manufacture.ManufactureDao;

import dao.Manufacture;

public class ManufactureDaoService implements ManufactureService {

	private ManufactureDao dao;

	@Override
	public void deleteManufacture(Integer id) {
		dao.deleteManufacture(id);
	}

	@Override
	public List<Manufacture> getAllManufacture() {
		return dao.getAllManufacture();
	}

	@Override
	public Manufacture getManufacture(Integer id) {
		return dao.getManufacture(id);
	}

	@Override
	public void insertManufacture(Manufacture manu) {
		dao.insertManufacture(manu);

	}

	@Override
	public void updateManufacture(Manufacture manu) {
		dao.updateManufacture(manu);

	}

}
